package cn.darkhorse.ticket.basis.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 计量单位信息
 * </p>
 *
 * @author maoguanjun
 * @since 2024-01-10
 */
@Getter
@Setter
  @TableName("ticket_unit_info")
@ApiModel(value = "TicketUnitInfo对象", description = "计量单位信息")
public class TicketUnitInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("单位编码")
      private String code;

      @ApiModelProperty("单位名称")
      private String name;
      @ApiModelProperty("系统创建时间")
      private LocalDateTime gmtCreate;

      @ApiModelProperty("系统修改最新时间")
      private LocalDateTime gmtModified;
      @ApiModelProperty("是否自动生成 0否 1是")
      private Boolean isAutomatically;
}
